package com.hadwinling.lotdb.controller;

import com.hadwinling.lotdb.service.LotdbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @description:
 * @author: hadwinling
 * @time: 2021/2/5 下午9:35
 */
@Controller
public class LotdbController {
    @Autowired
    private LotdbService lotdbService;


    @GetMapping("/")
    @ResponseBody
    public String setStorageGroup(){
        lotdbService.setStorageGroup("root.ling");
        return  "over";
    }



}
